package Assignment.Test5;

public class Staff {
    private String name;
    private String id;
    private int wage;

    public Staff() {
    }

    public Staff(String name, String id, int wage) {
        this.name = name;
        this.id = id;
        this.wage = wage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getWage() {
        return wage;
    }

    public void setWage(int wage) {
        this.wage = wage;
    }

    public void work(){
        System.out.println("工作");
    }


}
